docker somenetwork create 

docker run -d --name privateclouds-elasticsearch --net somenetwork -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.17.7

docker exec -it privateclouds-elasticsearch /bin/bash

cd bin

./elasticsearch-plugin install https://github.com//medcl/elasticsearch-analysis-ik/releases/download/v7.17.7/elasticsearch-analysis-ik-7.17.7.zip